﻿using Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
           var s = Invoke().Result;
        }

        public static async Task<string[]> Invoke()
        {
            Proxy proxy = new Proxy(typeof(serviceTest), new serviceTest());
            serviceTest plane = (serviceTest)proxy.GetTransparentProxy();
            return await plane.GetValues();
        }
    }
}
